example: Don't set a nonexisting property
authorMatthias Clasen <mclasen@redhat.com>
Thu, 17 Apr 2014 17:52:50 +0000 (10:52 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 18 Apr 2014 02:55:36 +0000 (22:55 -0400)
The GtkHeaderBar::show-fallback-app-menu property does not exist,
and isn't needed anyway.

docs/reference/gtk/getting_started.xml
examples/application10/window.ui

index 3cef084ed11710c1069cd0e3316bcfc86eba4f10..f271e66b42f483fa0bd993d879ac31fef7b12a6a 100644 (file)
@@ -982,9 +982,8 @@ example_app_window_init (ExampleAppWindow *win)
         <programlisting><xi:include href="../../../../examples/application10/window.ui" parse="text"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
       </informalexample>
 
-      <para>A small extra refinement that we have added here is to allow
-      the header bar to provide a fallback application menu, by setting
-      the show-fallback-app-menu property to TRUE. Here is how the
+      <para>A small extra bonus of using a header bar is that we get
+      a fallback application menu for free. Here is how the
       application now looks, if this fallback is used.</para>
 
       <informalfigure>
index f90456dacbcf7f5839e5a1578e70dfebbf91af14..3f7eede65b1fec578014145d62126988ea0d3d1f 100644 (file)
@@ -9,7 +9,6 @@
           <object class="GtkHeaderBar" id="header">
             <property name="visible">True</property>
             <property name="show-close-button">True</property>
-            <property name="show-fallback-app-menu">True</property>
             <child>
               <object class="GtkLabel" id="lines_label">
                 <property name="visible">False</property>